//
//  WCProjectBuildStatusTextField.m
//  WabbitCode
//
//  Created by William Towe on 2/11/09.
//  Copyright 2009 Revolution Software. All rights reserved.
//

#import "WCProjectBuildStatusTextField.h"
#import "WCProjectBuildStatusTextFieldCell.h"
#import "WCDocumentController.h"
#import "WCProject.h"
#import "WCBuildResultsWindowController.h"


@implementation WCProjectBuildStatusTextField

@dynamic imagesAndStrings;

- (NSArray *)imagesAndStrings {
	return [[self cell] imagesAndStrings];
}
- (void)setImagesAndStrings:(NSArray *)value {
	[[self cell] setImagesAndStrings:value];
	[self setNeedsDisplay:YES];
}

- (void)mouseDown:(NSEvent *)event {
	WCProject *project = [[WCDocumentController sharedDocumentController] currentProject];
	[project buildResultsAction:nil];
	[[[project buildResultsWindowController] window] makeFirstResponder:[[project buildResultsWindowController] outlineView]];
}
@end
